package com.itunion.ddd.domain.item;

import com.itunion.ddd.domain.item.gateway.TbItemCategoryGateway;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author liangliang.zheng
 * 商品分类信息-模型
 */
@Component
public class TbItemCategoryDomainService {
    @Resource
    private TbItemCategoryGateway tbItemCategoryGateway;

    public TbItemCategory selectById(Long id){
        if(id != null){
            return tbItemCategoryGateway.selectById(id);
        }
        return null;
    }
    public void save(TbItemCategory tbItemCategory){

    }
}